import Sticky from 'vant/lib/sticky'
import 'vant/lib/sticky/style'

export default {
  components: {
    [Sticky.name]: Sticky
  },
  props: {
    ...Sticky.props
  },
  render(h) {
    return h('van-sticky', {
      attrs: this.$attrs,
      props: this.$props,
      scopedSlots: this.$scopedSlots,
      on: this.$listeners
    })
  }
}
